import {request} from "../utils/request"

// 请求分类
export function getHead() {
  return request({
    url: '/weChat/applet/article/list?pageNum=1&pageSize=6',
    method: 'POST',
    data:{}
  })
}
// 获取头条详情
export function getNewDetail(articleId){
  return request({
    url: `/weChat/applet/article/detail/${articleId}`,
    method:'GET',
  })
}
// 获取更多列表
export function getMore(){
  return request({
    url: '/weChat/applet/article/list',
    method: 'POST',
  })
}